home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NOVA - For the NeXT Workstation
/
NOVA - For the NeXT Workstation.iso
/
Documents
/
NeXTAnswers
/
appkit.644
< prev
next >
Wrap
Text File
|
1992-02-06
|
912b
|
33 lines
{\rtf0\ansi{\fonttbl\f2\fnil Times-Roman;\f0\fswiss Helvetica;}
\paperw12740
\paperh8500
\margl120
\margr120
{\colortbl\red0\green0\blue0;}
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\b0\i0\ul0\fs28 Appkit/Window\
\
Q: If I have a window delegate, which method should I use to close the window, the
\b close:
\b0 method or the
\b performClose:
\b0 method?\
\i \
\i0 A: The
\b performClose:
\b0 method should be used instead of
\b close:
\b0 because it sends a
\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\b\fc0 windowWillClose:
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b0 to its delegate, while the
\b close:
\b0 method doesn't. See the documentation in the reference manual about the window class for more information about these two methods.\
\
QA644\
\
Valid for 1.0\
Valid for 2.0\
\